import http from '@http/http'
export const getActivityUrl = (aid) => http.GET(`/api/activityUrl/getActivityUrl?aid=${aid}`)
export const insertActivityUrl = (aid, url, fileName) => http.GET(`/api/activityUrl/insertActivityUrl?aid=${aid}&url=${url}&fileName=${fileName}`)
export const getAllActUrl = () => http.GET(`/api/activityUrl/getAllActUrl`)
export const getImageByAid = (aid) => http.GET(`/api/activityUrl/getImageByAid?aid=${aid}`)
export const getActivityById = (aid) => http.GET(`/api/activity/getActivityById?id=${aid}`)
export const getActivityRule = (aid) => http.GET(`/api/activity/getActRuleByAid?aid=${aid}`)
export const getUserNum = (aid) => http.GET(`/api/activity/getUserNum?aid=${aid}`)
